import request from '@/utils/request'

// 创建商户积分配置
export function createPointsConfig(data) {
    return request({
        url: '/pekingFish/tenant-points-config',
        method: 'post',
        data: data
    })
}

// 更新商户积分配置
export function updatePointsConfig(data) {
    return request({
        url: '/pekingFish/tenant-points-config',
        method: 'put',
        data: data
    })
}





// 获得商户积分配置分页
export function getPointsConfigPage(query) {
    return request({
        url: '/pekingFish/tenant-points-config/pageTenantPointsConfigs',
        method: 'get',
        params: query
    })
}

